/**
 * fileName:  PartEntity.java
 * author:  Pitaya
 * Company:  Cloudland Studio
 * Createdate:  2014-5-27 下午01:31:10
 *
 * All rights Reserved, Designed By cloudland Copyright(C) 2010-2011
 *   
 * Modification  History:
 *     Date           Author        Version        
 * -------------------------------------------
 * 2014-5-27          Pitaya            1.0        
 *
 * Why & What is modified:
 * 1.0: 文件创建
 */
package org.cloudland.commercial.masterdata.store.entity;

import java.util.ArrayList;
import java.util.List;

 /**
 * <pre> 
 * TODO 水果结构属性
 * 使用 java.lang.Object#toString(), 或者 {@link java.lang.Character Character} 等标签
 * </pre>
 * @ClassName  PartEntity
 * @author  Pitaya
 * @version  %I%, %G%
 * @see  
 * @since   JDK1.6
 *
 */
public class FruitStructureEntity {
	
	/**
	 * siteId 结构编号
	 */
	private String siteId;
	
	/**
	 * fruitId 水果编号
	 */
	private String fruitId;
	
	/**
	 * siteName 部位名称
	 */
	private String siteName;               
	
	/**
	 * siteDescribe 部位描述
	 */
	private String siteDescribe;           
	
	/**
	 * siteType 部位类型。0:全部,1:食用,2:药用
	 */
	private Integer siteType; 
	
	/**
	 * efficacyArray 结构支持的功效集合
	 */
	private List<FruitEfficacyEntity> efficacyArray = new ArrayList<FruitEfficacyEntity>(10);
	
	/**
	 * <pre>
	 * TODO 请充分描述该构造函数的作用，及其参数的作用。
	 * </pre>
	 *   
	 */
	public FruitStructureEntity() {
		// TODO Auto-generated constructor stub
	}
	
	/**
	 * <pre>
	 * TODO 请充分描述该构造函数的作用，及其参数的作用。
	 * </pre>
	 *
	 * @param siteId 结构编号
	 * @param fruitId 水果编号
	 * @param siteName 结构名称
	 * @param siteDescribe 结构描述
	 * @param siteType 部位类型 0:全部,1:食用,2:药用  
	 */
	public FruitStructureEntity(String siteId, String fruitId, String siteName, String siteDescribe, Integer siteType) {
		this.siteId = siteId;
		this.fruitId = fruitId;
		this.siteName = siteName;
		this.siteDescribe = siteDescribe;
		this.siteType = siteType;
	}

	/**
	 * get siteName
	 * @return siteName
	 */
	public String getSiteName() {
		return siteName;
	}

	/**
	 * set siteName
	 * @param siteName the value of siteName
	 */
	public void setSiteName(String siteName) {
		this.siteName = siteName;
	}

	/**
	 * get siteDescribe
	 * @return siteDescribe
	 */
	public String getSiteDescribe() {
		return siteDescribe;
	}

	/**
	 * set siteDescribe
	 * @param siteDescribe the value of siteDescribe
	 */
	public void setSiteDescribe(String siteDescribe) {
		this.siteDescribe = siteDescribe;
	}

	/**
	 * get siteType
	 * @return siteType
	 */
	public Integer getSiteType() {
		return siteType;
	}

	/**
	 * set siteType
	 * @param siteType the value of siteType
	 */
	public void setSiteType(Integer siteType) {
		this.siteType = siteType;
	}
	
	/**
	 *
	 * @param efficacy   
	 */
	public void addEfficacy(FruitEfficacyEntity efficacy) {
		efficacyArray.add(efficacy);
	}
	
	/**
	 * @return   
	 */
	public List<FruitEfficacyEntity> getEfficacy() {
		return efficacyArray;
	}

	/**
	 * get siteId
	 * @return siteId
	 */
	public String getSiteId() {
		return siteId;
	}

	/**
	 * set siteId
	 * @param siteId the value of siteId
	 */
	public void setSiteId(String siteId) {
		this.siteId = siteId;
	}

	/**
	 * get fruitId
	 * @return fruitId
	 */
	public String getFruitId() {
		return fruitId;
	}

	/**
	 * set fruitId
	 * @param fruitId the value of fruitId
	 */
	public void setFruitId(String fruitId) {
		this.fruitId = fruitId;
	}
	
}
